package com.nhjf.pojo.qo.system;

import com.nhjf.pojo.qo.BaseQo;

@SuppressWarnings("serial")
public class ResourceQo extends BaseQo{
	
	/**
	 * 资源ID
	 */
	private Long resourceId;
	
	/**
	 * 父资源ID
	 */
	private Long parentId;
	
	/**
	 * 查询资源的子资源是否同时查询资源本身信息
	 */
	private Boolean queryParent = false;
	
	/**
	 * 资源类型
	 * 1:模块
	 * 2:资源
	 */
	private Long type;
	
	/**
	 * 资源路径
	 */
	private String url;
	
	/**
	 * 编号
	 */
	private String number;
	
	/**
	 * 用户id
	 */
	private Long userId;
	/**
	 * 角色id
	 */
	private Long roleId;
	

	public Long getRoleId() {
		return roleId;
	}


	public void setRoleId(Long roleId) {
		this.roleId = roleId;
	}


	public Long getUserId() {
		return userId;
	}


	public void setUserId(Long userId) {
		this.userId = userId;
	}

	public Long getParentId() {
		return parentId;
	}

	public void setParentId(Long parentId) {
		this.parentId = parentId;
	}

	public Long getType() {
		return type;
	}

	public void setType(Long type) {
		this.type = type;
	}

	public Long getResourceId() {
		return resourceId;
	}

	public void setResourceId(Long resourceId) {
		this.resourceId = resourceId;
	}

	public String getUrl() {
		return url;
	}

	public void setUrl(String url) {
		this.url = url;
	}

	public String getNumber() {
		return number;
	}

	public void setNumber(String number) {
		this.number = number;
	}

	public Boolean getQueryParent() {
		return queryParent;
	}

	public void setQueryParent(Boolean queryParent) {
		this.queryParent = queryParent;
	}

	
	
	
	
	
	

}
